

#include "stdafx.h"
#include "pf_overlayline.h"
#include "pf_painter.h"

/**
 * Constructor.
 */
PF_OverlayLine::PF_OverlayLine(PF_Container* parent,
                 const PF_LineAttribute& d)
        :PF_Line(parent, d) {
}


void PF_OverlayLine::draw(PF_Painter* painter, PF_GraphicView* view, double patternOffset) {
    if (painter==NULL || view==NULL) {
        return;
    }
	
	painter->drawLine(getStartpoint(),
					  getEndpoint());

}
